package com.yangxk.kadmin.web.module.sample.po;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

@Data
public class Book {

    private Long id;

    private String bookName;

    private String isbn;

    private String author;

    private String publisher;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;

    private Long category;

    private Long deptId;

    private BigDecimal price;

    private String remark;

}
